package com.xique.park.constant.message;

/**
 * Created by IntelliJ IDEA.
 *
 * @author Administrator
 * description:
 * path: park2020-com.jzy.constant.message-RecordDtConstants
 * date: 2020/8/20 16:14
 */
public class RecordDtConstants {

    /**
     * 在场车辆记录相关
     */
    public static final String CNT = "cnt";
    public static final String TYPE = "type";
    public static final String REC_STATUS = "status";
    public static final String LIST = "list";

    /**在场记录是否有结果*/
    public static final String RES = "res";
    //无结果
    public static final int RES_NO = 0;
    //有结果
    public static final int RES_YES = 1;
    /**此车规定时间内多次停车已支付的停车订单总和*/
    public static final String PAID_TOTAL = "paid_total";
    //提前支付
    public static final String PREPAY = "prepay";
    //提前支付时间
    public static final String PREPAY_DATE = "prepay_date";

    /*********************进出场记录***********************/
    public static final String PLATE_TYPE = "plate_type";
    public static final String WAY = "way";
    public static final String PASS_STATUS = "status";
    public static final String DATE = "date";
    public static final String CAR_SIZE = "car_size";
    public static final String STOP_TIME = "stop_time";
    public static final String TOTAL = "total";
    public static final String PAID = "paid";
    public static final String COUPON = "coupon";
    public static final String PAY = "pay";
    /**是否删除-正常业务流程都为y*/
    public static final String DEL = "del";
    public static final String DEl_Y = "y";
    public static final String DEL_N = "n";
    /**车场id*/
    public static final String PARK = "park";
    /**通道id*/
    public static final String LANE = "lane";
    /**出入场记录中的车库id*/
    public static final String GARAGE = "garage";

    /**更新剩余车位的车库id*/
    public static final String GARAGE_ID = "garage_id";
    /**通道类型*/
    public static final String LANE_TYPE = "lane_type";

    /**设备保存的记录id,通道id和记录id确保记录的唯一性*/
    public static final String REC = "rec";
    /**入场记录key*/
    public static final String I = "i";
    /**出场记录key*/
    public static final String O = "o";
    /**内场入场记录*/
    public static final String INSIDE_IN = "inside_in";
    /**内场出场记录*/
    public static final String INSIDE_OUT = "inside_out";
    /** 弃用 --出入场记录key，用于从一个车场的一个车库出进入另一个车库*/
    public static final String IO = "io";

    public static final String PIC = "pic";
    public static final String PAY_DATE = "pay_date";

    public static final String REC_ID = "rec_id";
    /**入场时间，pay字段不为0时才有此字段*/
    public static final String IN_DATE = "in_date";

    /**是否超过车位数需要计费*/
    public static final String IS_MULT_FEE = "is_mult_fee";
    public static final Integer IS_MULT_FEE_Y = 1;
    public static final Integer IS_MULT_FEE_N = 0;

    /**停车订单流水号-唯一标识某一次停车事件*/
    public static final String PK_SERIAL = "pk_serial";

    /**服务应答设备在场记录，返回的优惠劵信息实体*/
    public static final String COUPON_OBJ = "coupon";
    //优惠类型
    public static final String COUPON_TYPE = "type";
    //优惠金额，具体单位根据优惠类型决定
    public static final String COUPON_VALUE = "value";
    //优惠劵流水号
    public static final String COUPON_GRANT_SERIAL = "grant_serial";

    /**是否储值车*/
    public static final String IS_VAL = "is_val";
    public static final Integer IS_VAL_Y = 1;
    public static final Integer IS_VAL_N = 0;

    /**上传记录中的管理类型*/
    public static final Integer MNGTYPE_FIXED = 1;
    public static final Integer MNGTYPE_REGIST = 2;
    public static final Integer MNGTYPE_VISITOR = 3;
    public static final Integer MNGTYPE_MEMBER = 4;
    //普通临停车
    public static final Integer MNGTYPE_TEMP = 5;
    //新能源临停车
    public static final Integer MNGTYPE_XNY_TEMP = 6;
    //共享车
    public static final Integer MNGTYPE_SHARE_TEMP = 7;

}
